<?php
/*
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
*/

session_start();
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title><?php echo $msg["Title"]."&nbsp;"."Canvi Curs"; ?></title>
	<?php include ('includes/meta.php');?>
</head>

<body class="text">

<?php
//	echo "curs: ". $_GET['curs']."<br>";
//	echo "anyescolar: ". $_SESSION['anyescolar']."<br>";
	$_SESSION['anyescolar'] = $_GET['curs'];
//	echo "anyescolar 2: ". $_SESSION['anyescolar']."<br>";
  /*  if ($_GET['curs']=='') {
         $any = "'".$_SESSION['anyescolar']."'";
    } else {
         $any = "'".$_GET['curs_escolar']."'";
    }*/
    header("Location: index.php");
    exit;

?>
</body>
</html>
